#include "stdafx.h"
#include "FileUtility.h"


FileUtility* FileUtility::fileUtility = NULL;

FileUtility::FileUtility(void)
{
}


FileUtility::~FileUtility(void)
{
}


FileUtility* FileUtility::GetInstance(void)
{
	if(fileUtility== NULL)
	{
		fileUtility = new FileUtility;
	}
	return fileUtility;
}

wchar_t * FileUtility::ConvertToWcharT(std::string inputString)
{
	wchar_t* wChars = new wchar_t[inputString.length() + 1];
	for(int i =0; i< (int)inputString.length(); i++)
	{
		wChars[i] = inputString[i];
	}
	wChars[inputString.length()] = 0;
	return wChars;
}

int FileUtility::numberMove =1;